package ifdemo;

import java.util.Scanner;

public class TestIf02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt();
        if (score >= 90 && score <= 100) {
            System.out.println("成绩优秀");
        } else if (score >= 80 && score < 90) {
            System.out.println("成绩良好");
        } else if (score >= 70 && score < 80) {
            System.out.println("成绩中等");
        } else if (score >= 60 && score <= 70) {
            System.out.println("成绩及格");
        } else if (score >= 0 && score < 60) {
            System.out.println("成绩不及格");
        } else {
            System.out.println("输入有误");
        }
    }
}
